package org.mango.mapper;

import java.util.List;
import java.util.Map;

import org.mango.bean.Sort;

public interface SortMapper {
    int deleteByPrimaryKey(String id);

    int insert(Sort record);

    Sort selectByPrimaryKey(String id);

    List<Sort> selectAll(Map<String, Object> map);

    int updateByPrimaryKey(Sort record);

    int uniqueName(Map<String,Object> map);

    List<Sort> listAll(Map<String, Object> map);

    int gridNum(String id);

    int countAll(Map<String, Object> inmap);
}